# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class KeyInfo(object):

    def __init__(self, keyId, keyName, keyStatus, createTime, keyDesc, rotationCycle, deleteTime, ):
        """
        :param keyId:  KeyID
        :param keyName:  Key名称
        :param keyStatus:  Key当前状态: 0:已启用、1:已禁用、2:计划删除
        :param createTime:  Key创建时间，采用ISO8601标准，格式为: YYYY-MM-DDTHH:mm:ssZ
        :param keyDesc:  Key的用途
        :param rotationCycle:  Key的轮换周期，为0则永久不轮换
        :param deleteTime:  计划删除的时间，采用ISO8601标准，格式为: YYYY-MM-DDTHH:mm:ssZ
        """

        self.keyId = keyId
        self.keyName = keyName
        self.keyStatus = keyStatus
        self.createTime = createTime
        self.keyDesc = keyDesc
        self.rotationCycle = rotationCycle
        self.deleteTime = deleteTime
